/*
 * HomeTelephoneNumberValidator.h
 *
 *  Created on: 06 ���� 2010
 *      Author: Sartios
 */

#ifndef HOMETELEPHONENUMBERVALIDATOR_H_
#define HOMETELEPHONENUMBERVALIDATOR_H_

#include "../IPhoneNumberValidator.h"

class HomeTelephoneNumberValidator : public IPhoneNumberValidator {
public:
	/**
	 * Does nothing
	 */
	HomeTelephoneNumberValidator();
	/**
	 *	Deletes nothing
	 */
	virtual ~HomeTelephoneNumberValidator();
	/**
	 * Checks the length of the phone number
	 * \return true if has the appropriate length
	 */
	virtual	bool	phoneNumberHasAppropriateLength(const string *phoneNumber);

	/**
	 * Checks the content of the phone number
	 * \return true if has the appropriate content
	 */
	virtual bool	phoneNumberHasAppropriateContent(const string *phoneNumber);
};

#endif /* HOMETELEPHONENUMBERVALIDATOR_H_ */
